package object;

public class Demo {
    public static void main(String[] args) {
        Point p1 = new Point(10, 20);
        p1.toString();
        System.out.println(p1);

        Point p2 = new Point(10, 20);
        System.out.println(p1.equals(p2));
    }
}
